<?php

class skillController extends Controller{
    public function selectskill(){
        $skModel = new skillModel();
        $data = $skModel->skilldata();
        echo json_encode($data);
    }

    public function skilldis(){
        $skid = isset($_POST['skid']) ? $_POST['skid'] : null;
        $skModel = new skillModel();
        $data = $skModel->skilldilis($skid);
        echo json_encode($data);
    }
}